/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.cx1.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author ECH
 */
public class Blog extends Base implements Serializable {
    
    private static final long serialVersionUID = 1;
        
    private String title;
    private String body;
    private String shortBody;
    
    private String authorName;
    private String authorGPlus;    
    
    //CX: references to objects
    
    private String blogTypeID;
    
    private String primaryPhotoID;    
    private List<String> photoIDs = new ArrayList<String>(0);
    
    private List<String> tagIDs;    
    private List<String> placeIDs;

    private String urlTitle;
    
    
    //CX: referenced objects
    
    private Photo primaryPhoto;        
    private List<Photo> photos = new ArrayList<Photo>(0); 
    
    private List<Tag> tags;
    private List<Place> places;
    
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public List<Tag> getTags() {
        return tags;
    }

    public void setTags(List<Tag> tags) {
        this.tags = tags;
    }

    public List<Place> getPlaces() {
        return places;
    }

    public void setPlaces(List<Place> places) {
        this.places = places;
    }

    public List<String> getTagIDs() {
        return tagIDs;
    }

    public void setTagIDs(List<String> tagIDs) {
        this.tagIDs = tagIDs;
    }

    public List<String> getPlaceIDs() {
        return placeIDs;
    }

    public void setPlaceIDs(List<String> placeIDs) {
        this.placeIDs = placeIDs;
    }

    public String getBlogTypeID() {
        return blogTypeID;
    }

    public void setBlogTypeID(String blogTypeID) {
        this.blogTypeID = blogTypeID;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public String getAuthorGPlus() {
        return authorGPlus;
    }

    public void setAuthorGPlus(String authorGPlus) {
        this.authorGPlus = authorGPlus;
    }

    public String getUrlTitle() {
        return urlTitle;
    }

    public void setUrlTitle(String urlTitle) {
        this.urlTitle = urlTitle;
    }

    public String getShortBody() {
        return shortBody;
    }

    public void setShortBody(String shortBody) {
        this.shortBody = shortBody;
    }

    public String getPrimaryPhotoID() {
        return primaryPhotoID;
    }

    public void setPrimaryPhotoID(String primaryPhotoID) {
        this.primaryPhotoID = primaryPhotoID;
    }

    public List<String> getPhotoIDs() {
        return photoIDs;
    }

    public void setPhotoIDs(List<String> photoIDs) {
        this.photoIDs = photoIDs;
    }

    public Photo getPrimaryPhoto() {
        return primaryPhoto;
    }

    public void setPrimaryPhoto(Photo primaryPhoto) {
        this.primaryPhoto = primaryPhoto;
    }

    public List<Photo> getPhotos() {
        return photos;
    }

    public void setPhotos(List<Photo> photos) {
        this.photos = photos;
    }
    
}
